package name.fowler.refactoring.simplestore;

public class NewReleasePriceCalculator extends PriceCalculator {

	public NewReleasePriceCalculator() {
		super(Category.NewRelease);
	}
	
	@Override
	public double calculatePrice(int daysRented) {
		return (daysRented * 3);
	}

	@Override
	public int calculateBonuses(int daysRented) {
		int bonuces = 1;
		if (daysRented > 1)
		{
			bonuces ++;
		}
		return bonuces;
	}

}
